package y2016.date1203.pm.古诗文网采集;

import okhttp3.OkHttpClient;
import org.junit.jupiter.api.Test;

import java.util.concurrent.TimeUnit;

public class AMain {
    private static OkHttpClient okHttpClient = new OkHttpClient.Builder()
            .readTimeout(60, TimeUnit.SECONDS)
            .writeTimeout(60, TimeUnit.SECONDS)
            .build();

    @Test
    public void main() throws Exception {
        CaijiGo caijiGo = new CaijiGo(okHttpClient);
        caijiGo.go();

    }
}


